package com.fiap.jpautil;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class JpaUtil {
	
	private static EntityManagerFactory emf = 
			Persistence.createEntityManagerFactory("segurancaCustomizada");
		
		public static EntityManager getEntityManager(){
			return emf.createEntityManager();	
		}
}
